/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const business = {
  path: '/business',
  component: Layout,
  redirect: '/business/remoteOrder',
  name: 'business',
  meta: {
    title: '业务管理',
    icon: 'excel',
    roles: [
      '业务管理', '远程命令'
    ]
  },
  children: [
    {
      path: 'remoteOrder',
      component: () => import('@/views/business/remoteOrder'),
      name: 'RemoteOrder',
      meta: { title: '远程命令', roles: ['远程命令'], keepAlive: true, isBack: false }
    }
  ]
}
export default business
